from rest_framework import serializers
from rest_framework.serializers import ModelSerializer

from activity.models import Gathering
from recruit.models import Recruit, Enterprise, City
from users.models import User


class UserActivitySerializer(ModelSerializer):
    class Meta:
        model = User
        fields = ['id']


class ActivitySerializer(ModelSerializer):
    # users = UserActivitySerializer(many=True)

    class Meta:
        model = Gathering

        fields = '__all__'





